<template>
  <projectDetail
    :docProjectId="projectId"
    :type="type"
    @isShow="isShow"
  ></projectDetail>
</template>

<script>
import projectDetail from '@/components/monitorProjectManagement/projectDetail'
export default {
  name: 'projectIncludeDetail',
  components: {
    projectDetail,
  },
  data() {
    return {
      projectId: '',
      type: '',
    }
  },
  created() {
    this.projectId = this.$route.query.projectId
    this.type = this.$route.query.type
  },
  methods: {
    isShow(data) {
      this.$router.push('/home/project/projectList')
      this.$store.commit('CHANGE_SLIDER_NAME', {
        oldUrl: '/home/project/projectList',
        newUrl: this.$router.currentRoute.fullPath,
      })
    },
  },
}
</script>

<style scoped></style>
